{% for amistad in amistades %}
    {% if  loop.index < limit %}
        {% include 'AmistateBundle:social:una-solicitud.html.twig' %}
    {% endif%}
{% endfor %}

{% if amistades|length > 10 %}
    <div class="ver-mas">
        <a href="javascript:void(0);" onclick="verMasAmistades({{page+1}});">Ver más</a>
    </div>
{% endif %}